body{
    background: rgb(13,108,230);
    margin-top: 50px;
    color:#333;
    font-family: Arial, Helvetica, sans-serif;
}
#clock{
    background:#fff;
    border: 15px solid #222;
    border-radius: 50%;
    position: relative;
    width: 320px;
    height: 320px;
    margin: auto;

}
ul{
    list-style:none;
    top:0;
    margin:0;
    padding:0;
    position:absolute;
    text-align: center;
}
li{
    position:absolute;
    transform-origin: 50% 100% ;
    height:160px;
}
.hours{
    
    left: 50%;
    font-size: 24px;
    letter-spacing: -1.6px;
    line-height: 45px;
    top:65px;
   

}
.hours li{
    width: 0px;
}
.hours span{
    display: block;
}
.hours li:nth-of-type(1){
    transform: rotate(30deg);
}
.hours li:nth-of-type(1) span{
    transform: rotate(-30deg);
}
.hours li:nth-of-type(2){
    transform: rotate(60deg);
}
.hours li:nth-of-type(2) span{
    transform: rotate(-60deg);
}
.hours li:nth-of-type(3){
    transform: rotate(90deg);
}
.hours li:nth-of-type(3) span{
    transform: rotate(-90deg);
}
.hours li:nth-of-type(4){
    transform: rotate(120deg);
}
.hours li:nth-of-type(4) span{
    transform: rotate(-120deg);
}
.hours li:nth-of-type(5){
    transform: rotate(150deg);
}
.hours li:nth-of-type(5) span{
    transform: rotate(-150deg);
}
.hours li:nth-of-type(6){
    transform: rotate(180deg);
}
.hours li:nth-of-type(6) span{
    transform: rotate(-180deg);
}
.hours li:nth-of-type(7){
    transform: rotate(210deg);
}
.hours li:nth-of-type(7) span{
    transform: rotate(-210deg);
}
.hours li:nth-of-type(8){
    transform: rotate(240deg);
}
.hours li:nth-of-type(8) span{
    transform: rotate(-240deg);
}
.hours li:nth-of-type(9){
    transform: rotate(270deg);
}
.hours li:nth-of-type(9) span{
    transform: rotate(-270deg);
}
.hours li:nth-of-type(10){
    transform: rotate(300deg);
}
.hours li:nth-of-type(10) span{
    transform: rotate(-300deg);
}
.hours li:nth-of-type(11){
    transform: rotate(330deg);
}
.hours li:nth-of-type(11) span{
    transform: rotate(-330deg);
}
.hours li:nth-of-type(12){
    transform: rotate(360deg);
}
.hours li:nth-of-type(12) span{
    transform: rotate(-360deg);
}

.hr-wrapper,.min-wrapper,.sec-wrapper{
    position: absolute;
    width: 0px;
    height: 0px;
    left:50%;
}
.hand{
    position:absolute;
    bottom: 160px;
    transform-origin: 50% 100%;
}
.hr{
    background:#222;
    left:50%;
    width: 13px;
    height: 105px;
    border-radius: 10px;
    animation: rotateHand 216s linear infinite;
}

.hr:after{
    background:#555;
    border-radius: 50%;
    content:"";
    display: block;
    bottom:-8px;
    width: 13px;
    height: 13px;
}
.min{
    background:#222;
    left:50%;
    width: 9px;
    height: 125px;
    border-radius: 8px;
    animation: rotateHand 36s linear infinite;
}

.min:after{
    background:#555;
    border-radius: 50%;
    content:"";
    display: block;
    bottom:-8px;
    width: 9px;
    height: 9px;
}
.sec{
    background:#d00;
    left:50%;
    width: 5px;
    height: 132px;
    border-radius: 8px;
    animation: rotateHand 6s linear infinite;
}

.sec:after{
    background:#d00;
    border-radius: 50%;
    content:"";
    display: block;
    bottom:-3.5px;
    width: 5px;
    height: 7px;
}

@keyframes rotateHand{
    to{
        transform:rotate(1turn);
    }
}
